package cn.lee.wechat;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import cn.lee.wechat.windows.WindowsSimpleDemo;
import cn.zhouyafeng.itchat4j.Wechat;
import cn.zhouyafeng.itchat4j.face.IMsgHandlerFace;

@SpringBootApplication
public class Application {
	private static final String QR_PATH="D://itchat4j/login";

	public static void main(String[] args) {
		IMsgHandlerFace msgHandler = new WindowsSimpleDemo();
		Wechat wechat = new Wechat(msgHandler, QR_PATH);
		wechat.start();//启动微信登陆
		SpringApplication.run(Application.class, args);
	}
	
}
